#pragma once
#include "DataPkt.h"

class WorkParam
{
public:
	WorkParam(void);
	~WorkParam(void);

public:
	void Clear(void);
    void GetZeroParam(int &sec, int &devi);
	void GetCallParam(int &sec);
	void GetTareParam(float &sys, float &down, float &up);
	string GetUnitPrice(string &ContType);
	int GetPrintParam();
	float GetRemainParam();

public:
	int GetWeightListCount();
	bool IsWeightDone();
	bool IsWeightOver(float w);

public:
	DpRspInitPrm m_InitParam;
	DpRspContInfo m_ContInfo;
	BuyData m_BuyData;
	string m_CheckNum;
};

extern WorkParam theWorkParam;
